const Sequelize = require('sequelize');
module.exports = function (sequelize) {
  return sequelize.define(
    "comment",  // 表名
    {
      postRank: {  // 评论层级
        type: Sequelize.TINYINT(1),
        allowNull: false,
      },
      commentContent: {  // 内容
        type: Sequelize.TEXT(0),
        allowNull: false,
      }
    }
  )
};